//
//  ECCourseOrderModel.h
//  Edu_iOS2018
//
//  Created by yanyan on 2018/1/13.
//  Copyright © 2018年 yanyan. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "CourseModel.h"
@interface ECCourseOrderModel : NSObject
@property(nonatomic,strong)NSString *orderId;//order id
@property(nonatomic,strong)NSString *orderSN;// 订单号

@property(nonatomic,strong)NSString *orderState;//订单 状态
@property(nonatomic,strong)NSString *totalPrice;//订单价格

@property(nonatomic,strong)CourseModel *mo_course;//课程

@property(nonatomic,strong)NSString *createdTime;//下单时间
@property(nonatomic,strong)NSString *paidTime;//支付时间 ： 当 status 是 paid 的时候获取
@property(nonatomic,strong)NSString *payment;//支付方式

@property(nonatomic,assign)BOOL reviewed;// 订单是否评价

-(instancetype)initWithObject:(id)orderDataOfList;
-(instancetype)initWithDetailObject:(id)orderDetailData;

@end
